<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <title>Swagger UI</title>
    <link rel="stylesheet" type="text/css" href="/module/plugins/swagger/swagger-ui.css" >
    <link rel="icon" type="image/png" href="/module/plugins/swagger/favicon-32x32.png" sizes="32x32" />
    <link rel="icon" type="image/png" href="/module/plugins/swagger/favicon-16x16.png" sizes="16x16" />
    <style>
      html
      {
        box-sizing: border-box;
        overflow: -moz-scrollbars-vertical;
        overflow-y: scroll;
      }

      *,
      *:before,
      *:after
      {
        box-sizing: inherit;
      }

      body
      {
        margin:0;
        background: #fafafa;
      }
      .swagger-ui .topbar{
        display: none;
      }
      .information-container .info{
        display: none;
      }
      .wrapper .models {
        display: none;
      }
      .opblock-description-wrapper{
        display: none;
      }
    </style>
  </head>

  <body>
    <div id="swagger-ui"></div>
    <script src="/module/plugins/swagger/swagger-ui-bundle.js"> </script>
    <script src="/module/plugins/swagger/swagger-ui-standalone-preset.js"> </script>
    <script src="/plugins/common.js"></script>
    <script>
      var apiUrl = SERVER_URL+"/swagger/api-docs";
      window.onload = function() {
        const ui = SwaggerUIBundle({
          url: apiUrl,
          dom_id: '#swagger-ui',
          deepLinking: true,
          presets: [
            SwaggerUIBundle.presets.apis,
            SwaggerUIStandalonePreset
          ],
          plugins: [
            SwaggerUIBundle.plugins.DownloadUrl
          ],
          layout: "StandaloneLayout"
        })

        window.ui = ui
      }
    </script>
  </body>
</html>
